Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix automation test #13213

Merged
merged 7 commits into from
May 15, 2024
Merged

Fix automation test #13213

merged 7 commits into from
May 15, 2024

Conversation

FelixFan1992
Copy link
Contributor

No description provided.

@FelixFan1992 FelixFan1992 marked this pull request as ready for review May 15, 2024 13:52
@FelixFan1992 FelixFan1992 requested a review from a team as a code owner May 15, 2024 13:53
@@ -1248,6 +1248,9 @@ func TestSetOffchainConfigWithMaxGasPrice(t *testing.T) {
require.NoError(t, err, "Error setting upkeep offchain config")
}

// sleep for 10s to make sure any in-flight performs are done
time.Sleep(10 * time.Second)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a better way for performs to get done instead of hardocded time.sleep

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a number of performs we expect that we can wait for using gom.Eventually like above

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's difficult to expect how many times it will perform so i use the n + 1 check from other tests to account for 1 possible in-flight request

@FelixFan1992 FelixFan1992 added this pull request to the merge queue May 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 15, 2024
@FelixFan1992 FelixFan1992 added this pull request to the merge queue May 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 15, 2024
@FelixFan1992 FelixFan1992 added this pull request to the merge queue May 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 15, 2024
@FelixFan1992 FelixFan1992 added this pull request to the merge queue May 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 15, 2024
@FelixFan1992 FelixFan1992 added this pull request to the merge queue May 15, 2024
@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Merged via the queue into develop with commit 1b1e31e May 15, 2024
107 checks passed
@FelixFan1992 FelixFan1992 deleted the fix-automation-test branch May 15, 2024 20:25
infiloop2 pushed a commit that referenced this pull request Jun 10, 2024
* fix automation test flake

* add changeset

* update

* udpate

* fix lint

* update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants